/****************************************************
 * 创建人: @author jianshengxiong
 * 创建时间: 2020/1/9/17:43
 * 项目名称: dfbp-common-basicparameter
 * 文件名称: TemplateEnum.java
 * 文件描述: @Description: 
 *
 * All rights Reserved, Designed By 投资交易团队
 * @Copyright:2016-2019
 *
 ********************************************************/

package com.heroh.codegenerator.vo;

/**
 * 包名称：com.heroh.constant
 * 类名称：TemplateEnum
 * 类描述：模板枚举
 * 创建人：@author jianshengxiong
 * 创建时间：2020/1/9/17:43
 */
public enum TemplateEnum {
    // 后端查询请求VO
    QRY_VO("/vo-templates/queryVO.java.ftl", "/vo/query/", "QryVO.java"),
    // 后端新增修改请求VO
    REQ_VO("/vo-templates/requestVO.java.ftl", "/vo/request/", "ReqVO.java"),
    // 后端返回VO
    REP_VO("/vo-templates/responseVO.java.ftl", "/vo/response/", "RepVO.java"),

    // 前端controller
    CONTROLLER("/antd-templates/controller.ftl","/web/controller/","Controller.js"),
    // 前端controller
    MODAL_CONTROLLER("/antd-templates/modalController.ftl","/web/controller/","ModalController.js"),
    // 前端service
    SERVICE_TS("/antd-templates/service.ftl","/web/service/","Service.js"),
    // view
    VIEW("/antd-templates/view.ftl","/web/view/","View.js"),
    // searchForm
    SEARCH_FORM("/antd-templates/searchForm.ftl","/web/view/","SearchForm.js"),
    // MODAL
    MODAL("/antd-templates/modal.ftl","/web/view/","Modal.js"),
    // COLS
    COLS("/antd-templates/column.ftl","/web/view/","Cols.js"),
    // CSS
    CSS("/antd-templates/css.ftl","/web/style/",".css"),
    ;
    private String templatePath;

    private String outPackage;

    private String typeName;

    TemplateEnum(String templatePath, String outPackage, String typeName) {
        this.templatePath = templatePath;
        this.outPackage = outPackage;
        this.typeName = typeName;
    }

    public String getTemplatePath() {
        return templatePath;
    }

    public String getOutPackage() {
        return outPackage;
    }

    public String getTypeName() {
        return typeName;
    }

}
